package com.mbc.rmt.dao;

import java.sql.ResultSet;
import java.sql.SQLException;
import java.util.List;

import com.mbc.common.param.CriteriaParams;
import com.mbc.rmt.data.AddCodeNDetail;
import com.mbc.rmt.data.RemittanceCashReceivedDataList;
import com.mbc.rmt.entities.CashReceiptRpt;
import com.mbc.rmt.entities.RemittanceCashReceived;

public interface RemittanceCashReceivedDAO {
	void create(RemittanceCashReceived entity)throws SQLException;
	void udpate(RemittanceCashReceived entity)throws SQLException;
	void delete(long key)throws SQLException;
	RemittanceCashReceived find(long key)throws SQLException;
	RemittanceCashReceived find(String receiptNo)throws SQLException;
	List<RemittanceCashReceived> findAll()throws SQLException;
	AddCodeNDetail getLatestAddCodeNDetail(long addCodeId)throws SQLException;
	RemittanceCashReceivedDataList findRmtCashReceived(CriteriaParams cri)throws SQLException;
	int getTotalReceipt(long branchId)throws SQLException;
	ResultSet prepareCashReceiptReport(CashReceiptRpt info)throws SQLException;
}
